﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Bookkeeping.Web.UserControls
{
    public partial class TotalControl : System.Web.UI.UserControl
    {
        public double TotalIncludingSavings { get; set; }
        public double TotalExcludingSavings { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            CssHelper.AdjustClassForAmount(totalExcludingSavingsDiv, TotalExcludingSavings);
            CssHelper.AdjustClassForAmount(totalIncludingSavingsDiv, TotalIncludingSavings);
        }
    }
}